package com.qfedu.controller;

import com.qfedu.pojo.User;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;


@Controller
@RequestMapping("user")
public class UserController {

    @PostMapping("addUser")
    public String addUser(User user){
        System.out.println(user);
        return "success";
    }
    @PostMapping("addUser1")
    public String addUser1(List<String> strings){
//        System.out.println(user);
        return "success";
    }
}
